package org.example.Service;

import org.example.Domain.Player;
import org.example.Dto.AgentDTO;
import org.example.Listener.CharacterSimulationListener;
import org.example.Vo.R;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

import java.io.IOException;

public interface AiService {

    R playerRegister(Player player) throws IOException;

    R agentCreate(AgentDTO agentDTORequest) throws Exception;

    SseEmitter getConn(Long userId);

    CharacterSimulationListener characterSimulationChat(String question, StringBuilder answerCache, String agentId, String chatId, String preChatId);
}
